#!/usr/bin/python
# -*- coding: utf-8 -*-
# @version        : 1.0
# @Create Time    : 2025/3/16 11:11
# @File           : delivery
# @IDE            : PyCharm
# @desc           : 描述

from typing import Optional, Union
from pydantic import BaseModel, ConfigDict
from core.data_types import DatetimeStr


class DeliverMessageSearch(BaseModel):
    serNo: str
    project: Optional[dict] = None
    type: str
    orderSubType: Optional[str] = None
    flag: str


class DeliverStatusSearch(BaseModel):
    serNo: str
    fileNum: Optional[str] = None
    msn: Optional[str] = None
